<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich">

<h:head>
	<title><ui:insert name="pageTitle">Agenda de Contatos</ui:insert>
	</title>
	<link rel="stylesheet" type="text/css" href="stl/style.css"></link>
</h:head>
<h:body bgcolor="#ffffff">
	<div align="center">
		<h:form>
			<rich:dataTable value="Agenda">

				<f:facet name="header">
					<h:outputText value="Agenda de Contatos"></h:outputText>
				</f:facet>

				<rich:column>
					<f:facet name="header">
						<h:outputText value="Grupo" />
					</f:facet>
					<h:commandButton value="Cadastro" action="grupo/grupo-form.xhtml" />
					<br></br>
					<h:commandButton value="Listar"
						action="grupo/grupo-list-tabela.xhtml" />
					<br></br>
					<h:commandButton value="Editar" action="grupo/grupo-list.xhtml" />
				</rich:column>

				<rich:column>
					<f:facet name="header">
						<h:outputText value="Contato" />
					</f:facet>
					<h:commandButton value="Cadastro"
						action="contato/contato-form.xhtml" />
					<br></br>
					<h:commandButton value="Listar"
						action="contato/contato-list-tabela.xhtml" />
					<br></br>
					<h:commandButton value="Editar" action="contato/contato-list.xhtml" />
				</rich:column>
				
			</rich:dataTable>
		</h:form>
	</div>
</h:body>
</html>